import { applyMiddleware, combineReducers,createStore } from "redux"
import {composeWithDevTools} from "redux-devtools-extension"
import thunk from "redux-thunk"
import countReducer from "./count/reducer"
import listReducer from "./list/reducer"
const store = createStore(combineReducers({
  count: countReducer,
  list: listReducer
}), composeWithDevTools(applyMiddleware(thunk)));

export default store;